package com.ww.yaodao.model.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@TableName("tb_buy")
@Data
public class BuyDO {
    @ApiModelProperty(value = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty(value = "采购日期")
    private Date date;
    @ApiModelProperty(value = "药品名称")
    private String productName;
    @ApiModelProperty(value = "药品单价")
    private BigDecimal price;
    @ApiModelProperty(value = "采购人员id")
    private Integer uid;
    @ApiModelProperty(value = "建议零售价")
    private BigDecimal suggestPrice;
    @ApiModelProperty(value = "药品类别")
    private String paymentType;
}
